package com.idc.resource.util;

import lombok.extern.slf4j.Slf4j;

import java.util.UUID;

/**
 * token帮助类
 * Created by Lijing on 2017/7/5.
 */
@Slf4j
public class TokenUtil {
    /**
     * 创建token
     * @return token
     */
    public static String createToken(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
}
